package com.aijk.ehm.dao.mybatis;

import com.aijk.ehm.model.EhmInfo;
import com.aijk.ehm.model.EhmInfoExample;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface EhmInfoMapper {
    int countByExample(EhmInfoExample example);

    int deleteByExample(EhmInfoExample example);

    int deleteByPrimaryKey(Long id);

    int insert(EhmInfo record);

    int insertSelective(EhmInfo record);

    List<EhmInfo> selectByExampleWithBLOBs(EhmInfoExample example);

    List<EhmInfo> selectByExample(EhmInfoExample example);

    EhmInfo selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") EhmInfo record, @Param("example") EhmInfoExample example);

    int updateByExampleWithBLOBs(@Param("record") EhmInfo record, @Param("example") EhmInfoExample example);

    int updateByExample(@Param("record") EhmInfo record, @Param("example") EhmInfoExample example);

    int updateByPrimaryKeySelective(EhmInfo record);

    int updateByPrimaryKeyWithBLOBs(EhmInfo record);

    int updateByPrimaryKey(EhmInfo record);
}